package com.baitiaojun.datasource.config;

import com.alibaba.druid.pool.DruidDataSource;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "spring.datasource")
public class DynamicDataSourceProperties {

    private DruidDataSource defaultDB;

    private DruidDataSource slaveDB;
//
//    private DruidDataSource slave_2;


}
